﻿Imports System.Xml.Serialization
Imports System.Xml
Namespace BE_ProspectoNameSpace
    <XmlRoot("Prospecto")> _
    Public Class BE_Prospecto
        Private _ProspectoColeccion As List(Of BE_ProspectoColeccion) = New List(Of BE_ProspectoColeccion)
        <XmlElement("XlsTelecreditoColeccion", GetType(BE_ProspectoColeccion))> _
        Public Property XlsTelecreditoColeccion() As List(Of BE_ProspectoColeccion)
            Get
                Return _ProspectoColeccion
            End Get
            Set(ByVal value As List(Of BE_ProspectoColeccion))
                _ProspectoColeccion = value
            End Set
        End Property
    End Class

    Public Class BE_ProspectoColeccion
        Private _DatosDetalleLinea As New List(Of BE_ProspectoDato)
        <XmlElement("ArchivoXlsTelecreditoColeccion", GetType(BE_ProspectoDato))> _
        Public Property ArchivoXlsTelecreditoColeccion() As List(Of BE_ProspectoDato)
            Get
                Return _DatosDetalleLinea
            End Get
            Set(ByVal value As List(Of BE_ProspectoDato))
                _DatosDetalleLinea = value
            End Set
        End Property
    End Class

    <XmlRoot("ProspectoDato")> _
    Public Class BE_ProspectoDato
        Private _Ruc As String = ""
        Private _Ejecutivo As String = ""
        Private _Producto As String = ""
        Private _FechaEvento As String = ""
        Private _Afiliacion As String = ""
        Private _AfiliacionFecInicio As String = ""
        Private _AfiliacionFecFin As String = ""
        Private _Nombre As String = ""
        Private _Via As String = ""
        Private _NombreVia As String = ""
        Private _NumeroVia As String = ""
        Private _TipoInterior As String = ""
        Private _NumeroInterior As String = ""
        Private _NumeroKM As String = ""
        Private _Mz As String = ""
        Private _Lote As String = ""
        Private _TipoUrbanizacion As String = ""
        Private _NombreUrbanizacion As String = ""
        Private _TipoConglomerado As String = ""
        Private _NombreConglomerado As String = ""
        Private _Referencia As String = ""
        Private _Ubigeo As String = ""
        Private _Telefono1 As String = ""
        Private _Telefono2 As String = ""
        Private _Campania As String = ""
        Private _Giro As String = ""
        Private _Contacto As String = ""
        Private _Email As String = ""
        Private _TipoLinea As String = ""
        Private _Banco As String = ""
        Private _BancoNroCuenta As String = ""
        Private _BancoTipoCuenta As String = ""
        Private _TipoEvento As String = ""
        Private _Resultado As String = ""
        Private _Motivo As String = ""
        Private _ProgramacionFecha As String = ""
        Private _ProgramacionEvento As String = ""

        'APOLAR - 20120312 - INICIO.
        Private _NroLinea As String = ""
        Private _OperadorTelefono As String = ""
        Private _MonedaCta As String = ""
        Private _PromedioVentas As String = ""
        Private _Moneda As String = ""
        Private _Cantidad As String = ""
        Private _Monto As String = ""
        Private _RepresentanteLegal As String = ""
        Private _TipoDocumento As String = ""
        Private _NroDocumento As String = ""
        Private _TipoCarga As String = ""
        'APOLAR - 20120312 - FIN.

        <XmlElement("Ruc")> _
                Public Property Ruc() As String
            Get
                Return _Ruc
            End Get
            Set(ByVal value As String)
                _Ruc = value
            End Set
        End Property
        <XmlElement("Ejecutivo")> _
        Public Property Ejecutivo() As String
            Get
                Return _Ejecutivo
            End Get
            Set(ByVal value As String)
                _Ejecutivo = value
            End Set
        End Property
        <XmlElement("Producto")> _
        Public Property Producto() As String
            Get
                Return _Producto
            End Get
            Set(ByVal value As String)
                _Producto = value
            End Set
        End Property
        <XmlElement("FechaEvento")> _
        Public Property FechaEvento() As String
            Get
                Return _FechaEvento
            End Get
            Set(ByVal value As String)
                _FechaEvento = value
            End Set
        End Property
        <XmlElement("Afiliacion")> _
        Public Property Afiliacion() As String
            Get
                Return _Afiliacion
            End Get
            Set(ByVal value As String)
                _Afiliacion = value
            End Set
        End Property
        <XmlElement("AfiliacionFecInicio")> _
        Public Property AfiliacionFecInicio() As String
            Get
                Return _AfiliacionFecInicio
            End Get
            Set(ByVal value As String)
                _AfiliacionFecInicio = value
            End Set
        End Property
        <XmlElement("AfiliacionFecFin")> _
        Public Property AfiliacionFecFin() As String
            Get
                Return _AfiliacionFecFin
            End Get
            Set(ByVal value As String)
                _AfiliacionFecFin = value
            End Set
        End Property
        <XmlElement("Nombre")> _
        Public Property Nombre() As String
            Get
                Return _Nombre
            End Get
            Set(ByVal value As String)
                _Nombre = value
            End Set
        End Property
        <XmlElement("Via")> _
        Public Property Via() As String
            Get
                Return _Via
            End Get
            Set(ByVal value As String)
                _Via = value
            End Set
        End Property
        <XmlElement("NombreVia")> _
        Public Property NombreVia() As String
            Get
                Return _NombreVia
            End Get
            Set(ByVal value As String)
                _NombreVia = value
            End Set
        End Property
        <XmlElement("NumeroVia")> _
        Public Property NumeroVia() As String
            Get
                Return _NumeroVia
            End Get
            Set(ByVal value As String)
                _NumeroVia = value
            End Set
        End Property
        <XmlElement("TipoInterior")> _
        Public Property TipoInterior() As String
            Get
                Return _TipoInterior
            End Get
            Set(ByVal value As String)
                _TipoInterior = value
            End Set
        End Property
        <XmlElement("NumeroInterior")> _
        Public Property NumeroInterior() As String
            Get
                Return _NumeroInterior
            End Get
            Set(ByVal value As String)
                _NumeroInterior = value
            End Set
        End Property
        <XmlElement("NumeroKM")> _
        Public Property NumeroKM() As String
            Get
                Return _NumeroKM
            End Get
            Set(ByVal value As String)
                _NumeroKM = value
            End Set
        End Property
        <XmlElement("Mz")> _
        Public Property Mz() As String
            Get
                Return _Mz
            End Get
            Set(ByVal value As String)
                _Mz = value
            End Set
        End Property
        <XmlElement("Lote")> _
        Public Property Lote() As String
            Get
                Return _Lote
            End Get
            Set(ByVal value As String)
                _Lote = value
            End Set
        End Property
        <XmlElement("TipoUrbanizacion")> _
        Public Property TipoUrbanizacion() As String
            Get
                Return _TipoUrbanizacion
            End Get
            Set(ByVal value As String)
                _TipoUrbanizacion = value
            End Set
        End Property
        <XmlElement("NombreUrbanizacion")> _
        Public Property NombreUrbanizacion() As String
            Get
                Return _NombreUrbanizacion
            End Get
            Set(ByVal value As String)
                _NombreUrbanizacion = value
            End Set
        End Property
        <XmlElement("TipoConglomerado")> _
        Public Property TipoConglomerado() As String
            Get
                Return _TipoConglomerado
            End Get
            Set(ByVal value As String)
                _TipoConglomerado = value
            End Set
        End Property
        <XmlElement("NombreConglomerado")> _
        Public Property NombreConglomerado() As String
            Get
                Return _NombreConglomerado
            End Get
            Set(ByVal value As String)
                _NombreConglomerado = value
            End Set
        End Property
        <XmlElement("Referencia")> _
        Public Property Referencia() As String
            Get
                Return _Referencia
            End Get
            Set(ByVal value As String)
                _Referencia = value
            End Set
        End Property
        <XmlElement("Ubigeo")> _
        Public Property Ubigeo() As String
            Get
                Return _Ubigeo
            End Get
            Set(ByVal value As String)
                _Ubigeo = value
            End Set
        End Property
        <XmlElement("Telefono1")> _
        Public Property Telefono1() As String
            Get
                Return _Telefono1
            End Get
            Set(ByVal value As String)
                _Telefono1 = value
            End Set
        End Property
        <XmlElement("Telefono2")> _
        Public Property Telefono2() As String
            Get
                Return _Telefono2
            End Get
            Set(ByVal value As String)
                _Telefono2 = value
            End Set
        End Property
        <XmlElement("Campania")> _
        Public Property Campania() As String
            Get
                Return _Campania
            End Get
            Set(ByVal value As String)
                _Campania = value
            End Set
        End Property
        <XmlElement("Giro")> _
        Public Property Giro() As String
            Get
                Return _Giro
            End Get
            Set(ByVal value As String)
                _Giro = value
            End Set
        End Property
        <XmlElement("Contacto")> _
        Public Property Contacto() As String
            Get
                Return _Contacto
            End Get
            Set(ByVal value As String)
                _Contacto = value
            End Set
        End Property
        <XmlElement("Email")> _
        Public Property Email() As String
            Get
                Return _Email
            End Get
            Set(ByVal value As String)
                _Email = value
            End Set
        End Property
        <XmlElement("TipoLinea")> _
        Public Property TipoLinea() As String
            Get
                Return _TipoLinea
            End Get
            Set(ByVal value As String)
                _TipoLinea = value
            End Set
        End Property
        <XmlElement("Banco")> _
        Public Property Banco() As String
            Get
                Return _Banco
            End Get
            Set(ByVal value As String)
                _Banco = value
            End Set
        End Property
        <XmlElement("BancoNroCuenta")> _
        Public Property BancoNroCuenta() As String
            Get
                Return _BancoNroCuenta
            End Get
            Set(ByVal value As String)
                _BancoNroCuenta = value
            End Set
        End Property
        <XmlElement("BancoTipoCuenta")> _
        Public Property BancoTipoCuenta() As String
            Get
                Return _BancoTipoCuenta
            End Get
            Set(ByVal value As String)
                _BancoTipoCuenta = value
            End Set
        End Property
        <XmlElement("TipoEvento")> _
        Public Property TipoEvento() As String
            Get
                Return _TipoEvento
            End Get
            Set(ByVal value As String)
                _TipoEvento = value
            End Set
        End Property
        <XmlElement("Resultado")> _
        Public Property Resultado() As String
            Get
                Return _Resultado
            End Get
            Set(ByVal value As String)
                _Resultado = value
            End Set
        End Property
        <XmlElement("Motivo")> _
        Public Property Motivo() As String
            Get
                Return _Motivo
            End Get
            Set(ByVal value As String)
                _Motivo = value
            End Set
        End Property
        <XmlElement("ProgramacionFecha")> _
        Public Property ProgramacionFecha() As String
            Get
                Return _ProgramacionFecha
            End Get
            Set(ByVal value As String)
                _ProgramacionFecha = value
            End Set
        End Property
        <XmlElement("ProgramacionEvento")> _
        Public Property ProgramacionEvento() As String
            Get
                Return _ProgramacionEvento
            End Get
            Set(ByVal value As String)
                _ProgramacionEvento = value
            End Set
        End Property

        'APOLAR - 20120312 - INICIO
        <XmlElement("NroLinea")> _
        Public Property NroLinea() As String
            Get
                Return _NroLinea
            End Get
            Set(ByVal value As String)
                _NroLinea = value
            End Set
        End Property
        <XmlElement("OperadorTelefono")> _
        Public Property OperadorTelefono() As String
            Get
                Return _OperadorTelefono
            End Get
            Set(ByVal value As String)
                _OperadorTelefono = value
            End Set
        End Property
        <XmlElement("MonedaCta")> _
        Public Property MonedaCta() As String
            Get
                Return _MonedaCta
            End Get
            Set(ByVal value As String)
                _MonedaCta = value
            End Set
        End Property
        <XmlElement("PromedioVentas")> _
        Public Property PromedioVentas() As String
            Get
                Return _PromedioVentas
            End Get
            Set(ByVal value As String)
                _PromedioVentas = value
            End Set
        End Property
        <XmlElement("Moneda")> _
        Public Property Moneda() As String
            Get
                Return _Moneda
            End Get
            Set(ByVal value As String)
                _Moneda = value
            End Set
        End Property
        <XmlElement("Cantidad")> _
        Public Property Cantidad() As String
            Get
                Return _Cantidad
            End Get
            Set(ByVal value As String)
                _Cantidad = value
            End Set
        End Property
        <XmlElement("Monto")> _
        Public Property Monto() As String
            Get
                Return _Monto
            End Get
            Set(ByVal value As String)
                _Monto = value
            End Set
        End Property
        <XmlElement("RepresentanteLegal")> _
        Public Property RepresentanteLegal() As String
            Get
                Return _RepresentanteLegal
            End Get
            Set(ByVal value As String)
                _RepresentanteLegal = value
            End Set

        End Property
        <XmlElement("TipoDocumento")> _
        Public Property TipoDocumento() As String
            Get
                Return _TipoDocumento
            End Get
            Set(ByVal value As String)
                _TipoDocumento = value
            End Set

        End Property
        <XmlElement("NroDocumento")> _
        Public Property NroDocumento() As String
            Get
                Return _NroDocumento
            End Get
            Set(ByVal value As String)
                _NroDocumento = value
            End Set

        End Property
        <XmlElement("TipoCarga")> _
        Public Property TipoCarga() As String
            Get
                Return _TipoCarga
            End Get
            Set(ByVal value As String)
                _TipoCarga = value
            End Set

        End Property
        'APOLAR - 20120312 - FIN

    End Class
End Namespace